/**
 * @author        Nicolas Bottarini <nicolasbottarini@gmail.com>, 404 <http://www.proyecto404.com>
 * @version       $Rev: 3 $
 * @lastrevision  $Date: 2011-09-12 16:45:37 +0000 (Mon, 12 Sep 2011) $	 
 */
package com.proyecto404.core.ui.util {
	import flash.display.DisplayObject;
	import flash.display.DisplayObjectContainer;
	import flash.geom.Rectangle;

	/**
	 * @static
	 */
	public class DisplayObjectHelper {
		public static function removeAllChildren(obj:DisplayObjectContainer):void {
			while(obj.numChildren > 0) {
				obj.removeChildAt(0);
			}
		}
	}
}